

you must 

instal 

Script Hook V

because the trainer was built on this library

https://www.dev-c.com/gtav/scripthookv/

http://www.dev-c.com/gtav/scripthookv/